Make which-key-show prefix mode-line work like top and bottom
authorJustin Burkett <justin@burkett.cc>
Tue, 4 Feb 2020 01:57:53 +0000 (20:57 -0500)
committerJustin Burkett <justin@burkett.cc>
Tue, 4 Feb 2020 01:57:53 +0000 (20:57 -0500)
Fixes #234

which-key.el

index d343be0fc7c7f7d5ea57eb96db63aa0803686752..de96a498fb202458038f3ce2456c8acbaaf2a184 100644 (file)
@@ -1556,7 +1556,7 @@ no title exists."
             ((not (string-equal repl-res "")) repl-res)
             ((and (eq which-key-show-prefix 'echo) alternate)
              alternate)
-            ((and (member which-key-show-prefix '(bottom top))
+            ((and (member which-key-show-prefix '(bottom top mode-line))
                   (eq which-key-side-window-location 'bottom)
                   echo-keystrokes)
              (if alternate alternate